﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace BeatEmUp
{
    static class MovementBoundaries
    {
        public static Rectangle gameField;

        public static bool ExceedsBoundaries(Rectangle position)
        {
            //changedGameField = GameManager.customResolution.ScaleRectangle(gameField);
            //changedGameField.Y = 125;
            Rectangle scaledPosition = GameManager.customResolution.ScaleRectangle(position);
            return !gameField.Contains(scaledPosition);
        }
    }
}
